home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
vol_300
/
353_02
/
clock.h
< prev
next >
Wrap
C/C++ Source or Header
|
1992-01-18
|
429b
|
20 lines
// This is the game clock. It increments once for every
// move, the increment being accomplished in the method
// named inc_and_print_time.
#ifndef CLOCK_H
#define CLOCK_H
class clock {
int hour;
int minute;
public:
clock(void);
int present_hour(void) {return hour;}
int present_minute(void) {return minute;}
void inc_and_print_time(void);
};
#endif